#ifndef VICON_H_INCLUDED
#define VICON_H_INCLUDED

static CvCapture* cam_capture;

G_MODULE_EXPORT gboolean on_pixMapArea_expose_event(GtkWidget *widget, GdkEventExpose *event,gpointer data);
G_MODULE_EXPORT void detect_and_draw2( IplImage* img );

G_MODULE_EXPORT CvCapture* open_cam(int index);
G_MODULE_EXPORT void close_cam( CvCapture** capture );

#endif // VICON_H_INCLUDED
